Table of Contents
The programmer is assumed to be familiar with
- working in the terminal over ssh
gitand gitlab (https://eicweb.phy.anl.gov)
- C++, python, and shell scripting
Create an account on https://eicweb.phy.anl.gov and configure your account.
Installing the eic_container is done with the following:
git clone https://eicweb.phy.anl.gov/containers/eic_container.gitmkdir eic_container/buildcd eic_container/buildcmake ../. -DCMAKE_INSTALL_PREFIX=$HOME/stow/eic_container_1.0.4make -j4 install
Inspect the list of files installed, noting the locations of modulefiles and wrapper scripts.
module use $HOME/etc/modulefilesmodule load eic_container
See modulefiles for more info.
Also see environment for more info.
See here for more info on singularity.
The following helper runs bash inside
module load eic_containercontainer_dev
For projects that you want to build but which are also inside of the container,
you must make sure to set
$LD_LIBRARY_PATH to point to the
development build's installation prefix first. Here we assume your development
builds are being installed into
A simple setup script will make sure things are in order
module use $HOME/etc/modulefilesmodule load eic_containerexport PATH=$HOME/stow/development/bin:$PATHexport LD_LIBRARY_PATH=$HOME/stow/development/lib:$HOME/stow/development/lib64:$LD_LIBRARY_PATHexport ROOT_INCLUDE_PATH=$HOME/stow/development/include:$ROOT_INCLUDE_PATH
source setup.shmodule load eic_containergit clone https://eicweb.phy.anl.gov/EIC/NPDet.gitcd NPDet/examplesprint_materials gem_tracker_disc.xml 0 0 0 100 0 100
The last line dumps the materials encounter along a line defined by two points.
Edit this page on eicweb
cd ../..mkdir NPDet/build && cd NPDet/buildcmake ../. -DCMAKE_INSTALL_PREFIX=$HOME/stow/developmentmake -j4 installcd ../examplesprint_materials gem_tracker_disc.xml 0 0 0 100 0 100